﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Timers;

namespace WindowsFormsApplication3
{
    class CPrestamo
    {
        //esta clase encapsula los datos de Prestamos
        private int s_Cod_Prest;
        private String s_Cod_Lib;
        private String s_Fec_Prest;
        private String s_Fec_Dev;
        private String s_Nom_Ape;
        private String s_E_mail;
        private bool s_Est_Prest;

        public CPrestamo(int s_Cod_Prest, String s_Cod_Lib, String s_Fec_Prest, String s_Fec_Dev, String s_Nom_Ape, String s_E_mail, bool s_Est_Prest)
        {
        this.s_Cod_Prest = s_Cod_Prest;
        this.s_Cod_Lib = s_Cod_Lib;
        this.s_Fec_Prest = s_Fec_Prest;
        this.s_Fec_Dev = s_Fec_Dev;
        this.s_Nom_Ape = s_Nom_Ape;
        this.s_E_mail = s_E_mail;
        this.s_Est_Prest = s_Est_Prest;
        }

        public int CodPrest
        {
            get
            { return s_Cod_Prest; }
            set
            { s_Cod_Prest = value; }
        }

        public String CodLib
        {
            get
            { return s_Cod_Lib; }
            set
            { s_Cod_Lib = value; }
        }

        public String FecPrest
        {
            get
            { return s_Fec_Prest; }
            set
            { s_Fec_Prest = value; }
        }

        public String FecDev
        {
            get
            { return s_Fec_Dev; }
            set
            { s_Fec_Dev = value; }
        }

        public String NomApe
        {
            get
            { return s_Nom_Ape; }
            set
            { s_Nom_Ape = value; }
        }

        public String Email
        {
            get
            { return s_E_mail; }
            set
            { s_E_mail = value; }
        }

        public bool EstPrest
        {
            get
            { return s_Est_Prest; }
            set
            { s_Est_Prest = value; }
        }


    }
}
